package com.example.dubbo.storage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.dubbo.storage.entity.StorageTblEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author Liyuhang
 * @email 50875895@qq.com
 * @date 2021-09-21 15:02:45
 */
@Mapper
public interface StorageTblDao extends BaseMapper<StorageTblEntity> {

    int decreaseStorage(@Param("commodityCode") String commodityCode,@Param("count") Integer count);

}
